package com.eddy.service;

import com.eddy.entity.User;

import java.util.List;

public interface UserService {
    List<User> getAllUser(String username, int pageStart, int pageSize);
    int getUserTotal(String username);
    int updateState(Integer id,Integer state);
    int addUser(User user);
    int deleteUser(Integer id);
    User getUser(Integer id);
    int updateUser(User user);
}
